package com.belly.template.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Belly
 * @version 1.1.0
 *
 * FileConfig对象类
 */
@Data
public class TemplateMakerFileConfig {
    private List<FileInfoConfig> files;

    private FileGroupConfig fileGroupConfig;

    @Data
    @NoArgsConstructor
    public static class FileInfoConfig {
        private String path;
        private String condition;

        /**
         * 过滤规则
         */
        private List<FileFilterConfig> filterConfigList;
    }
    @Data
    @NoArgsConstructor
    public static class FileGroupConfig {
        private String condition;
        private String groupKey;
        private String groupName;
    }
}
